{% extends "index/index.html" %}

{% block title %}Möwe - {{ user.username }}{% endblock %}

{% block content %}
    {% get_current_timezone as TIME_ZONE %}
        {  % timezone TIME_ZONE %}
        <h1>
            {% if user.first_name %}
                {{ user.first_name }} {{user.last_name}}
                <small class="text-muted">{{ user.username }}</small>
            {% else %}
                {{ user.username }}
            {% endif %}
        </h1>
        {{ joined }}
        <ul class="list-group">
            {% if user.first_name %}
                <li class="list-group-item">{{ user.username }}</li>
            {% endif %}
            <li class="list-group-item">Account erstellt am: {{ user.date_joined }}</li>
            <li class="list-group-item">Letzter Wachtag: {{ user.wachtage.latest }}</li>
            <li class="list-group-item">Wachstunden letzte 30 Tage: {{served_in_30_days}}</li>
            <li class="list-group-item">Wachstunden dieses Jahr ({{ this_year }}): {{ served_this_year }}</li>
            <li class="list-group-item">Wachstunden insgesamt: {{ served_overall }}</li>
        </ul>
    {% endtimezone %}
{% endblock %}
